<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>
<div class="banner">
	<div class="banner-hd">
		<ul class="ydl c">
		 <%
			int xxbhti=0;
			String sqlbht="select id, shouyetupian from xinwentongzhi where leibie='变幻图'  order by id desc limit 0,5";
			ResultSet RS_resultbht=connDbBean.executeQuery(sqlbht);
while(RS_resultbht.next())
{
	xxbhti++;
		%>
			<li style="display: none;"><img src="<%=RS_resultbht.getString("shouyetupian")%>" width="100%"></li>
<%
		}
		%>
		</ul>
		<div class="hd">
			<ul><li class=""></li><li class="on"></li><li class=""></li><li class=""></li><li class=""></li></ul>
		</div>
	</div>
	<script type="text/javascript">
		$('.banner-hd').find(".prev,.next").fadeTo("show",0.4);
		$(".banner-hd").slide({ titCell:".hd ul" , mainCell:".ydl" ,  autoPlay:true, delayTime:700 , autoPage:"<li></li>" });
	</script>
</div>